package com.example.selflearning.service;

import com.example.selflearning.domain.User;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class UserServiceImpl implements UserService {
    @Override
    public User getUserById(int userId) {
        log.info("invoke getUserById");
        return new User(userId);
    }
}
